<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .demo1 {
            display: inline-block;
            margin-left: 100px;
            width: 0;
            height: 0;
            border-top: 100px solid red;
            border-right: 100px solid pink;
            border-bottom: 100px solid green;
            border-left: 100px solid blue;
        }

        .demo2 {
            display: inline-block;
            margin-left: 100px;
            width: 0;
            height: 0;
            border-top: 100px solid transparent;
            border-right: 100px solid transparent;
            border-bottom: 100px solid green;
            border-left: 100px solid transparent;
        }

        .demo3 {
            display: inline-block;
            margin-left: 100px;
            width: 0;
            height: 0;
            border-top: 100px solid red;
            border-right: 100px solid transparent;
            border-bottom: 100px solid transparent;
            border-left: 100px solid transparent;
        }

        .demo4 {
            display: inline-block;
            margin-left: 100px;
            width: 0;
            height: 0;
            border-top: 100px solid transparent;
            border-right: 100px solid pink;
            border-bottom: 100px solid transparent;
            border-left: 100px solid transparent;
        }

        .demo5 {
            margin-left: 100px;
            width: 0;
            height: 0;
            border-top: 200px solid transparent;
            border-right: 100px solid pink;
            border-bottom: 0px solid green;
            border-left: 100px solid transparent;
        }
    </style>
</head>

<body>
    <div class="demo1"></div>
    <div class="demo2"></div>
    <div class="demo3"></div>
    <div class="demo4"></div>
    <div class="demo5"></div>
</body>

</html>